#pragma once

#include"atlas.h"
#include"animation.h"
#include"scene.h"
#include"scene_manager.h"
#include<iostream>
using namespace std;

extern IMAGE img_menu_background;
extern SceneManager Scene_Manager;

class MenuScene :public scene
{
public:
	MenuScene()
	{

	}

	~MenuScene()
	{

	}

	void on_enter()
	{
		mciSendString(_T("play bgm_menu repeat from 0"), NULL, 0, NULL);
	}
	void on_update(int delta) 
	{
		
	} 
	void on_draw(const Camera& camera)
	{
		putimage(0, 0, &img_menu_background);
	} 
	void on_input(const ExMessage& msg)
	{
		if (msg.message == WM_KEYUP)
		{
			mciSendString(_T("play ui_confirm from 0"), NULL, 0, NULL);
			Scene_Manager.switchto(SceneManager::SceneType::Selector);
		}
	}
	void on_exit() 
	{
		
	} 

private:
	
};